/*
 * Copyright (c) 2013 by Chances.
 * $CVSHeader$
 * $Author$
 * $Date$
 * $Revision$
 */
package chances.epg.search.searcher;

/**
 * Class comments.
 *
 * @author <a href="mailto:libf@chances.com.cn">libf</a>
 */
public class SearchRequest {
    private String action;
    private String condition;
    private String type;
    private String contentCode;
    private String hdType;
    private boolean excludeSelf = true;//是否过滤掉当前的内容
   
    private int pagesize = 10; 
    private int curPage = 0;
    /**
     * @return the condition
     */
    public String getCondition() {
        return condition;
    }
    /**
     * @param condition the condition to set
     */
    public void setCondition(String condition) {
        this.condition = condition;
    }
    /**
     * @return the type
     */
    public String getType() {
        return type;
    }
    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }
    /**
     * @return the pagesize
     */
    public int getPagesize() {
        return pagesize;
    }
    /**
     * @param pagesize the pagesize to set
     */
    public void setPagesize(int pagesize) {
        this.pagesize = pagesize;
    }
    /**
     * @return the curPage
     */
    public int getCurPage() {
        return curPage;
    }
    /**
     * @param curPage the curPage to set
     */
    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }
    
    /**
     * @return the action
     */
    public String getAction() {
        return action;
    }
    /**
     * @param action the action to set
     */
    public void setAction(String action) {
        this.action = action;
    }
    
	public String getContentCode() {
		return contentCode;
	}
	public void setContentCode(String contentCode) {
		this.contentCode = contentCode;
	}
	public boolean isExcludeSelf() {
		return excludeSelf;
	}
	public void setExcludeSelf(boolean excludeSelf) {
		this.excludeSelf = excludeSelf;
	}
	public String getHdType() {
		return hdType;
	}
	public void setHdType(String hdType) {
		this.hdType = hdType;
	}
}
